Unplanned
Last Updated: 12 Mar 2025 08:43 by Jan Brandenburger
Created by: Jan Brandenburger
Comments: 0
Category: Telerik Document Processing
Type: Bug Report
1
When the image passed to the GetAllTextFromImage() method doesn't have any text in it, a NullReferenceException is thrown. The expected behaviour should be to return a null or empty string.
Unplanned
Last Updated: 12 Mar 2025 08:26 by ADMIN
For instance, we may implement WritePageAsync method in addition to the existing WritePage method. This is a similar scenario as in System.IO.StreamWriter class which has WriteLine and WriteLineAsync methods.
Unplanned
Last Updated: 11 Mar 2025 11:14 by Margret

The PDF/A-1 standard uses the PDF Reference 1.4 and specifies two levels of compliance:

- PDF/A-1b - Its goal is to ensure reliable reproduction of the visual appearance of the document.

- PDF/A-1a - Its objective is to ensure that documents content can be searched and re-purposed. This compliance level has some additional requirements:

  • Document structure must be included.
  • Tagged PDF.
  • Unicode character maps
  • Language specification.

Since the PdfProcessing and its PdfFormatProvider is compliant with the PDF Reference 1.7. , the produced documents are created with this version as well: 




Unplanned
Last Updated: 11 Mar 2025 09:50 by Jeanot
This is the code the for replicating the error: 
using Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Streaming;
using Telerik.Windows.Documents.Fixed.Model.Editing;
using Telerik.Windows.Documents.Fixed.Model.InteractiveForms;
using Telerik.Windows.Documents.Fixed.Model;
using Telerik.Documents.Primitives;
using System.Diagnostics;
using System.Reflection.Metadata;
using Telerik.Windows.Documents.Fixed.FormatProviders.Pdf;

namespace _1681158PdfInputFields
{
    internal class Program
    {
        static void Main(string[] args)
        {
           ExportExamplePdfForm();

        }

        public static void ExportExamplePdfForm()
        {
            RadFixedDocument fixedDoc = new RadFixedDocument();
            RadFixedPage fixedPage = fixedDoc.Pages.AddPage();
            FixedContentEditor editor = new FixedContentEditor(fixedPage);
            editor.Position.Translate(100, 100);
           
            
            TextBoxField textBox = new TextBoxField("textBox");
            fixedDoc.AcroForm.FormFields.Add(textBox);
            textBox.Value = "Sample text...";
            Size widgetDimensions = new Size(200, 30); 
            DrawNextWidgetWithDescription(editor, "TextBox", (e) => e.DrawWidget(textBox, widgetDimensions));

            string fileName = "output.pdf";
            File.Delete(fileName);
            // File.WriteAllBytes(fileName, new PdfFormatProvider().Export(fixedDoc, TimeSpan.FromSeconds(15)));


            string ResultFileName = "result.pdf";
            File.Delete(ResultFileName);
            using (PdfStreamWriter writer = new PdfStreamWriter(File.OpenWrite(ResultFileName)))
            {
                foreach (RadFixedPage page in fixedDoc.Pages)
                {
                    writer.WritePage(page);
                }
            }

            ProcessStartInfo psi = new ProcessStartInfo()
            {
                FileName = ResultFileName,
                UseShellExecute = true
            };
            Process.Start(psi);

            Console.WriteLine("Document created.");

             
        }

        private static void DrawNextWidgetWithDescription(FixedContentEditor editor, string description, Action<FixedContentEditor> drawWidgetWithEditor)
        {
            double padding = 20;
            drawWidgetWithEditor(editor);

            Size annotationSize = editor.Root.Annotations[editor.Root.Annotations.Count - 1].Rect.Size;
            double x = editor.Position.Matrix.OffsetX;
            double y = editor.Position.Matrix.OffsetY;

            Block block = new Block();
            block.TextProperties.FontSize = 20;
            block.VerticalAlignment = Telerik.Windows.Documents.Fixed.Model.Editing.Flow.VerticalAlignment.Center;
            block.InsertText(description);
            editor.Position.Translate(x + annotationSize.Width + padding, y);
            editor.DrawBlock(block, new Size(editor.Root.Size.Width, annotationSize.Height));

            editor.Position.Translate(x, y + annotationSize.Height + padding);
        }
    }
}
Unplanned
Last Updated: 10 Mar 2025 09:45 by João
Created by: João
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Handwritten Signature is a type of biometric signature that relies on capturing unique biometric data from a person's handwritten signature.
Unplanned
Last Updated: 05 Mar 2025 12:03 by Jason
Unplanned
Last Updated: 04 Mar 2025 08:03 by Flemming
This is a sample code to replicate the error which is triggered on export: 
            string inputFileName = "input.xlsx";
            if (!File.Exists(inputFileName))
            {
                throw new FileNotFoundException(String.Format("File {0} was not found!", inputFileName));
            }

            Telerik.Windows.Documents.Spreadsheet.Model.Workbook workbook;
            IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();

            using (Stream input = new FileStream(inputFileName, FileMode.Open))
            { 
                workbook = formatProvider.Import(input, TimeSpan.MaxValue);
            }
            string outputFilePath = "output.xlsx";

            using (Stream output = new FileStream(outputFilePath, FileMode.Create))
            {
                formatProvider.Export(workbook, output, TimeSpan.MaxValue);
            }
            Process.Start(new ProcessStartInfo() { FileName = outputFilePath, UseShellExecute = true });
Unplanned
Last Updated: 03 Mar 2025 09:09 by Vijayaprasad
Created by: Vijayaprasad
Comments: 0
Category: WordsProcessing
Type: Feature Request
1
Preserve the comments when exporting the DOCX file to PDF format
Unplanned
Last Updated: 28 Feb 2025 11:40 by David

Incorrect timestamp of a DateTime with custom number format.

Expected:

Actual:

Unplanned
Last Updated: 25 Feb 2025 14:53 by David
Chart with missing shape properties (shPr) is corrupted with black background after PDF export.
In Development
Last Updated: 25 Feb 2025 09:39 by ADMIN

The StokeAlphaContant is not handled correctly when applied on a TextFragment:

In Development
Last Updated: 25 Feb 2025 08:27 by ADMIN

Line spacing is not preserved when exporting RTF to HTML and the lines are exported with the default line spacing.

In Development
Last Updated: 24 Feb 2025 08:29 by ADMIN
Created by: João
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Introduce support for UnShrinking - Method 1.
Unplanned
Last Updated: 21 Feb 2025 10:59 by Gal
Incorrect positioning of Right-to-left (RTL) numbers.
Unplanned
Last Updated: 21 Feb 2025 10:13 by Gal
Mangled Right-To-Left (RTL) content when multiple lines of text are drawn.
Need More Info
Last Updated: 19 Feb 2025 14:51 by ADMIN
Created by: Jörg
Comments: 3
Category: Telerik Document Processing
Type: Bug Report
1

We use the PDF viewer in an WPF project and see sometimes faulty pdfs in the telerik viewer. If I open the pdf file in acrobat it lloks fine. Do you know this problem ?

Attached you find the original file and a screenshot from PDF viewer. Other files are shown correct in the telerik viewer.

In Development
Last Updated: 18 Feb 2025 13:16 by ADMIN
Wrong font loading when FontFile2 is CFF (Compact Font Format).
Completed
Last Updated: 18 Feb 2025 09:29 by ADMIN
Release 2025.1.205 (2025 Q1)
ADMIN
Created by: Deyan
Comments: 1
Category: PdfProcessing
Type: Feature Request
27
This property should work similar to PreferredWidth cell property but in vertical direction.
Completed
Last Updated: 18 Feb 2025 09:09 by ADMIN
Release 2025.1.205 (2025 Q1)
Implement support for adding barcodes to a PDF document.
Unplanned
Last Updated: 18 Feb 2025 08:22 by Vitalii
1 2 3 4 5 6